<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
 <h1>学生信息列表</h1>
<table width="100%" border="1px" cellspacing="0">
    <tr>
        <th>姓名</th>
        <th>年龄</th>
        <th>学号</th>
        <th>班级</th>
        <th>操作</th>
    </tr>
    <c:forEach items="${students}" var="student">
        <tr>
            <td>${student.name}</td>
            <td>${student.age}</td>
            <td>${student.studentNo}</td>
            <td>${student.clazz}</td>
            <td>
                <button>编辑</button>
                <button>删除</button>
            </td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
